<?php
	include 'layout.php';
	$oid = $_SESSION['oid'];
	mysql_query("DELETE FROM orderacc WHERE OrderAcc_ID = {$oid}");
	mysql_query("DELETE FROM oa_items WHERE OAI_OrderAcc_ID = {$oid}");
	unset($_SESSION['oid']);
	unset($oid);
	session_destroy();
	echo "<script>window.location='index.php';</script>";
?>